package com.system.healthproject.model.admin.service;

import com.system.healthproject.bean.DepartmentBean;
import com.system.healthproject.bean.ResultAllHospitalDepartmentIdName;
import com.system.healthproject.bean.ResultDepartmentIdName;
import com.system.healthproject.pojo.Department;

import java.util.Date;
import java.util.List;

public interface DepartmentService {
    List<ResultDepartmentIdName> selectHospitalIdName(Integer hospitalId);

    List<ResultAllHospitalDepartmentIdName> selectAllHospitalDepartmentIdName();

    String addDepartment(Integer hospitalId,String departmentName, Integer departmentParentid, String departmentUser, String departmentPhone);

    String updateDepartment(Integer hospitalId, Integer departmentId, String departmentName,
                            Integer departmentParentid, String departmentUser, String departmentPhone, String createTime);

    List<DepartmentBean> selectHospitalIdDepartment(Integer hospitalId, Integer page, Integer limit);

    Integer countDepartmentNumber(Integer hospitalId);

    Department selectHospitalIdDepartmentId(Integer hospitalId, Integer departmentId);

    String deleteDepartment(Integer departmentId);
}
